﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp
{
    /// <summary>
    /// 有攻击性的
    /// </summary>
    interface IAggressive
    {
        /// <summary>
        /// 攻击距离
        /// </summary>
        double AttackDistance { get; }
        /// <summary>
        /// 攻击
        /// </summary>
        /// <returns></returns>
        AttackResult Attack(double distance);

    }
}
